<?php
/**
 * Intreface DAO
 *
 * @author: http://phpdao.com
 * @date: 2015-05-26 14:36
 */
interface BusinessesDAO{

	/**
	 * Get Domain object by primry key
	 *
	 * @param String $id primary key
	 * @Return Businesses 
	 */
	public function load($businesses);

	/**
	 * Get all records from table
	 */
	
	public function businesscategory_list($businesses);
	
	/**
	 * Get all records from table ordered by field
	 * @Param $orderColumn column name
	 */
	public function queryAllSearchBy($businesses);
	
	public function SearchByCount($businesses);
	
	public function queryAll($businesses);
	
	public function queryAllCount($businesses);
	
	/**
 	 * Delete record from table
 	 * @param businesse primary key
 	 */
	public function delete($businesses);
	
	/**
 	 * Insert record to table
 	 *
 	 * @param Businesses businesse
 	 */
	public function insert($businesses);
	
	/**
 	 * Update record in table
 	 *
 	 * @param Businesses businesse
 	 */
	public function update($businesses);	

	/**
	 * Delete all rows
	 */
	public function clean();

	public function queryByBusinessName($value);

	public function queryByCategoryId($value);

	public function queryByMember($value);

	public function queryByBusinessType($value);

	public function queryByStartDate($value);

	public function queryByDescription($value);

	public function queryByUrl($value);

	public function queryByAddress($value);

	public function queryByBussinessImage($value);

	public function queryByStatus($value);

	public function queryByCreatedDate($value);

	public function queryByUpdatedDate($value);


	public function deleteByBusinessName($value);

	public function deleteByCategoryId($value);

	public function deleteByMember($value);

	public function deleteByBusinessType($value);

	public function deleteByStartDate($value);

	public function deleteByDescription($value);

	public function deleteByUrl($value);

	public function deleteByAddress($value);

	public function deleteByBussinessImage($value);

	public function deleteByStatus($value);

	public function deleteByCreatedDate($value);

	public function deleteByUpdatedDate($value);


}
?>